import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JTextField;
import javax.swing.JLabel;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Choice;


public class SearchPatientGUI extends JPanel {
    private JTextField textField;
    public SearchPatientGUI() {
        setLayout(null);
        
        textField = new JTextField();
        textField.setBounds(109, 14, 247, 22);
        add(textField);
        textField.setColumns(10);
        
        JButton btnCancel = new JButton("Cancel");
        btnCancel.setBounds(10, 266, 89, 23);
        add(btnCancel);
        
        JButton btnEdit = new JButton("Search");
        btnEdit.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
            }
        });
        btnEdit.setBounds(10, 14, 89, 23);
        add(btnEdit);
        
        JButton button = new JButton("Edit");
        button.setBounds(10, 48, 89, 23);
        add(button);
        
        Choice choice = new Choice();
        choice.setBounds(109, 48, 161, 20);
        add(choice);
    }
}
